package org.huamoxi.service;

import com.baomidou.mybatisplus.extension.service.IService;
import org.huamoxi.entity.Role;

import java.util.List;

public interface RoleService extends IService<Role> {

    /**
     * 根据用户id查询用户信息
     */
    List<Role> getRolesByUserid(Long userId);
}
